package io.kiki.stack.netty.invoker;

import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

/**
 * The type of command in the request/response model.
 */

@Slf4j
@Setter
@Getter
public class RpcCommandType {
    /**
     * rpc response
     */
    public static final byte RESPONSE = (byte) 0x00;
    /**
     * rpc request
     */
    public static final byte REQUEST = (byte) 0x01;
    /**
     * rpc oneway request
     */
    public static final byte REQUEST_ONEWAY = (byte) 0x02;
}
